package com.bdqn.membersystem.pojo;

import java.io.Serializable;
import java.util.Date;

public class AuFunction implements Serializable {
    /**
    * 主键id
    */
    private Long id;

    /**
    * 功能编码
    */
    private String functionCode;

    /**
    * 功能名称
    */
    private String functionName;

    /**
    * 功能url
    */
    private String funcUrl;

    private Long parentId;

    /**
    * 创建时间
    */
    private Date creationTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFunctionCode() {
        return functionCode;
    }

    public void setFunctionCode(String functionCode) {
        this.functionCode = functionCode;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public String getFuncUrl() {
        return funcUrl;
    }

    public void setFuncUrl(String funcUrl) {
        this.funcUrl = funcUrl;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", functionCode=").append(functionCode);
        sb.append(", functionName=").append(functionName);
        sb.append(", funcUrl=").append(funcUrl);
        sb.append(", parentId=").append(parentId);
        sb.append(", creationTime=").append(creationTime);
        sb.append("]");
        return sb.toString();
    }
}